package com.example.model.acl.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("acl_menu")
@ApiModel(value = "acl_menu对象",description = "acl菜单表")
@NoArgsConstructor
@AllArgsConstructor
public class Acl_menu implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id",type = IdType.AUTO)
    @ApiModelProperty(value = "ID")
    private String id;

    @TableField(value = "name")
    @ApiModelProperty(value = "菜单名称")
    private String name;

    @TableField(value = "path")
    @ApiModelProperty(value = "菜单路径")
    private String path;

    @TableField(value = "label")
    @ApiModelProperty(value = "菜单标签")
    private String label;

    @TableField(value = "icon")
    @ApiModelProperty(value = "菜单图标")
    private String icon;

    @TableField(value = "url")
    @ApiModelProperty(value = "菜单url")
    private String url;

    @TableField(value = "status")
    @ApiModelProperty(value = "菜单状态")
    private String status;

    @TableField(value = "parent_id")
    @ApiModelProperty(value = "父菜单id")
    private String parentId;

    @TableField(value = "sort_order")
    @ApiModelProperty(value = "排序")
    private String sortOrder;
}
